package com.bsoft.gol.hcs.specialist.dao;

import ctd.persistence.annotation.DAOMethod;
import ctd.persistence.annotation.DAOParam;
import ctd.persistence.support.hibernate.HibernateSupportDelegateDAO;
import hcn.specialist.DiseaseSpecies;

import java.util.List;

public abstract class DiseaseDeptDAO extends HibernateSupportDelegateDAO<DiseaseSpecies> {

    @DAOMethod(sql = "select * from DiseaseSpecies  where  diseaseTypeId =:diseaseTypeId")
    public abstract List<DiseaseSpecies> queryDiseaseDepartmentName(@DAOParam("diseaseTypeId") Long diseaseTypeId);

}


